#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS ROW+2
#define EASY_COUNT 10
void Initboard(char board[ROWS][COLS], int rows,int cols, char ch);
void Display(char board[ROWS][COLS], int rows, int cols);
void Setmine(char board[ROWS][COLS], int rows, int cols);
void Palyermove(char mineboard[ROWS][COLS], char showboard[ROWS][COLS], int rows, int cols);
void Setnewmine(char board[ROWS][COLS], int x, int y);
void openmine(char mineboard[ROWS][COLS], char showboard[ROWS][COLS],int x,int y);
int Getcount(char mineboard[ROWS][COLS],  int x, int y);
Iswin(char showboard[ROWS][COLS], int row, int col);
